import Request from '../utils/request'
/**
 * 任务统计 star
 */
// 信息上报
export function getTaskReportCount (params: any = {}) {
  return Request({
    url: '/api/app/platformReportInfo/getTaskReportCount',
    method: 'GET',
    params
  })
}

// 数量趋势
export function getReportCountBycomp (params: any = {}) {
  return Request({
    url: `/api/app/platformReportInfo/getReportCountBycomp`,
    method: 'GET',
    params
  })
}

// 指令任务
export function getInsTaskCount (params: any = {}) {
  return Request({
    url: '/api/app/taskinfo/getInsTaskCount',
    method: 'GET',
    params
  })
}

// 企业指令统计
export function getComInstructionCount (params: any = {}) {
  return Request({
    url: '/api/app/taskinfo/getComInstructionCount',
    method: 'GET',
    params
  })
}

// 监管部门指令统计
export function getOrgInstructionCount (params: any = {}) {
  return Request({
    url: '/api/app/taskinfo/getOrgInstructionCount',
    method: 'GET',
    params
  })
}

// 合规提示与统计报表
export function getComplianceReport (params: any = {}) {
  return Request({
    url: '/api/app/taskinfo/getComplianceReport',
    method: 'GET',
    params
  })
}

// 统计报表数据
export function getComReportCount (params: any = {}) {
  return Request({
    url: '/api/app/taskinfo/getComReportCount',
    method: 'GET',
    params
  })
}

// 四类任务
export function get4Task (params: any = {}) {
  return Request({
    url: '/api/app/taskinfo/get4Task',
    method: 'GET',
    params
  })
}

/**
 * 任务统计 end
 */